#include <wx/wx.h>
#include "selectgamedialog.h"

class SelectGamePanel : public wxPanel
{
    public:
    SelectGamePanel(wxFrame*frame,int id);

    wxPanel *leftpanel;
    wxPanel *rightpanel;

//    wxPanel *parentpanelpvsai;
//    wxPanel *childpanelpvsai;
//    wxPanel *parentpanelaivsai;
//    wxPanel *childpanelaivsai;
//    wxPanel *parentpanelback;
//    wxPanel *childpanelback;

    bool isgamesetted;
    int gametype;
    SelectGameDialog *selectgamedialog;
    wxBitmapButton *pvsai;
    wxBitmapButton *aivsai;
    wxBitmapButton *backtomenupanel;
    wxBitmapButton *startgame;

    wxBitmap *bmppvsai,*bmpaivsai;

    void OnClickPlayerVersusAI(wxCommandEvent&event);
    void OnClickAIVersusAI(wxCommandEvent&event);
    void OnClickBacktoMenu(wxCommandEvent&event);
    void OnClickStartGame(wxCommandEvent&event);


    static const int ID_PLAYER_VERSUS_AI;
    static const int ID_AI_VERSUS_AI;
    static const int ID_BACK_TO_MENU_PANEL;
    static const int ID_START_GAME;
};
